//
//  CTVChannelCollectionParser.h
//  Channltv
//
//  Created by Bruno Keymolen on 03/09/07.
//  Copyright 2007 channl.tv All rights reserved.
//
//  Reads a channl collection (ex. channl.tv/channels.xml)
//  Creates an enumeration of CTVChannel
//

#import <Cocoa/Cocoa.h>


@interface CTVChannelCollectionParser : NSObject {
	NSString* m_channelCollectionName;
	NSString* m_channelCollectionIconUrlString;
	NSMutableArray* m_channels; //CTVChannel collection
}

-(id)init;
-(void)dealloc;
-(NSArray*)channels; 
-(int)parseFromData:(NSData*)data;
-(int)parseFromPath:(NSString*)path;
-(NSString*)channelCollectionName;
-(NSString*)channelCollectionIconUrlString;

//Private
-(void)_releaseChannels;

@end
